how to extract data from json in python